package com.example.text;

//import java.text.NumberFormat;
import java.text.DecimalFormat;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.*;
import android.util.Log;
import android.view.View.*;
import android.view.*;
import java.util.*;

public class MainActivity extends Activity
{
    public void onCreate(Bundle icicle)
    {
        super.onCreate(icicle);
        setContentView(R.layout.activity_main);
        Button button=findViewById(R.id.start);
        button.setOnClickListener(new OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent=new Intent(MainActivity.this,Jisuanqi.class);
                startActivity(intent);
            }
        });
        Button button1=findViewById(R.id.change);
        button1.setOnClickListener(new OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent=new Intent(MainActivity.this,HuanSuan.class);
                startActivity(intent);
            }
        });
        Button button2=findViewById(R.id.length);
        button2.setOnClickListener(new OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent=new Intent(MainActivity.this,LengthHuan.class);
                startActivity(intent);
            }
        });
        Button button3=findViewById(R.id.Volume);
        button3.setOnClickListener(new OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent=new Intent(MainActivity.this,VolumeHuan.class);
                startActivity(intent);
            }
        });


    }



}